﻿<?php include('app/admin/welcome/html/meta.html');?>
<?php include('app/admin/welcome/html/header.html');?>
<?php include('app/admin/welcome/html/menu.html');?>
<style>
/*.active{
	color:red;
	border:1px soid red;
}*/
</style>
<section class="Hui-article-box">
	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> <a href="index.php?a=admin&b=welcome&c=index">首页</a>
		<span class="c-gray en">&gt;</span>
		留言列表

		<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
	</nav>
	<div class="Hui-article">
		<article class="cl pd-20">
			<div class="text-c"> 
				<form action="index.php?a=admin&b=comments&c=index" method="post">
					<input type="text" name="search_tel" id="search_tel" placeholder=" 手机搜索" style="width:250px" class="input-text">
					<button name="searchtel" id="searchtel" class="btn btn-success" type="submit" ><i class="Hui-iconfont">&#xe665;</i> 手机搜索</button>
				</form>	
			</div>
			<div class="text-c" style="margin-top: 20px;"> 
				<form action="index.php?a=admin&b=comments&c=index" method="post">
					<input type="text" name="search_name" id="search_name" placeholder=" 姓名搜索" style="width:250px" class="input-text">
					<button name="searchname" id="searchname" class="btn btn-success" type="submit" ><i class="Hui-iconfont">&#xe665;</i> 姓名搜索</button>
				</form>
			</div>
				
			
			<div class="mt-20">
				<table class="table table-border table-bordered table-bg table-hover table-sort">
					<thead>
						<tr class="text-c">
							<th width="25"><input type="checkbox" name="" value=""></th>
							<th width="80">ID</th>
							<th width="80">姓名</th>
							<th width="80">电话</th>
							<th width="120">邮箱</th>
							<th width="120">要求</th>
							<th width="120">操作</th>
						</tr>
					</thead>
					<tbody id="tbody">
						<?php foreach($comments as $k=>$v){?>
						<tr class="text-c">
							<td><input type="checkbox" value="" name=""></td>
							<td><?php echo $v['Id']?></td>
							<td><?php echo $v['name'];?></td>
							<td><?php echo $v['tel'];?></td>
							<td><?php echo $v['email'];?></td>
							<td><?php echo $v['requirement'];?></td>
							<td class="f-14 td-manage">
								<a id="delete" style="text-decoration:none" deleteid='<?php echo $v['Id'];?>' class="ml-5 delete" href="index.php?a=admin&b=comments&c=delete&id=<?php echo $v['Id'];?>" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a>
							</td>
							
						</tr>
						<?php }?>
					</tbody>
				</table>

			</div>
		</article>
	</div>
</section>


<?php include('app/admin/welcome/html/footer.html');?>

<!--请在下方写此页面业务相关的脚本-->

<script>
	
	
</script>
<!--/请在上方写此页面业务相关的脚本-->

</body>
</html>